<admintpl file="header" />
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
	<li><a href="{:U('link/index')}">{:L('ADMIN_LINK_INDEX')}</a></li>
	<li class="active"><a href="{:U('link/add')}">{:L('ADMIN_LINK_ADD')}</a></li>
</ul>
<form method="post" class="form-horizontal js-ajax-form"
	action="{:U('link/add_post')}">
<fieldset>
<div class="control-group"><label class="control-label">{:L('NAME')}</label>
<div class="controls"><input type="text" name="link_name">
<span class="form-required">*</span></div>
</div>
<div class="control-group"><label class="control-label">{:L('LINK_ADDRESS')}</label>
<div class="controls"><input type="text" name="link_url">
<span class="form-required">*</span></div>
</div>
<div class="control-group"><label class="control-label">{:L('LINK_ICON')}</label>
<div class="controls"><input type="text" name="link_image">
</div>
</div>
<div class="control-group"><label class="control-label">{:L('LINK_TARGET')}</label>
<div class="controls"><select name="link_target">
	<foreach name="targets" item="vo">
	<option value="{$key}">{$vo}</option>
	</foreach>
</select></div>
</div>
<div class="control-group"><label class="control-label">{:L('LINK_DESCRIPTION')}</label>
<div class="controls"><textarea name="link_description" rows="5"
	cols="57"></textarea></div>
</div>
</fieldset>
<div class="form-actions">
<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
<a class="btn" href="{:U('link/index')}">{:L('BACK')}</a></div>
</form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>